package com.laowang.project.system.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.laowang.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 我的爱车对象 my_cyh_car
 *
 * @author laowang
 * @date 2023-05-09
 */
@NoArgsConstructor
@Data
public class MyCyhCar implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}", required = false)
    private Integer id;

    /**
     * 爱车品牌
     */
    @Excel(name = "爱车品牌")
    @ApiModelProperty(value = "爱车品牌", required = false)
    private String product;

    /**
     * 填写车牌号
     */
    @Excel(name = "填写车牌号")
    @ApiModelProperty(value = "填写车牌号", required = false)
    private String name;

    /**
     * 排序
     */
    @Excel(name = "排序")
    @ApiModelProperty(value = "排序", required = false)
    private Integer weight;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间", required = false)
    private Date ctime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间", required = false)
    private Date utime;

    /**
     * 审核状态
     */
    @Excel(name = "审核状态")
    @ApiModelProperty(value = "审核状态", required = false)
    private String auditStatus;

    /**
     * 用户选择
     */
    @Excel(name = "用户选择")
    @ApiModelProperty(value = "用户选择", required = false)
    private Integer userId;

    /**
     * 级别
     */
    @Excel(name = "级别")
    @ApiModelProperty(value = "级别", required = false)
    private String dengji;

    @ApiModelProperty(value = "级别", required = false)
    private String remark;

    /**
     * 驾驶证
     */
    @Excel(name = "驾驶证")
    @ApiModelProperty(value = "驾驶证", required = false)
    private String img;

    /**
     * 到期时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "到期时间", required = false)
    private Date expiredtime;

    /**
     * 行驶证
     */
    @Excel(name = "行驶证")
    @ApiModelProperty(value = "行驶证", required = false)
    private String photo;


}
